

public abstract class AbstractBridgeMessage {

    private IMessage iMessage;

    public AbstractBridgeMessage(IMessage iMessage) {
        this.iMessage = iMessage;
    }

    public void sendMessage(String content, String toUser) {
        this.iMessage.send(content, toUser);
    }

}